// InfoBox.cpp : implementation file
//

#include "stdafx.h"
#include "WaveAnalysis.h"
#include "InfoBox.h"


// InfoBox dialog

IMPLEMENT_DYNAMIC(InfoBox, CDialog)

InfoBox::InfoBox(CWnd* pParent /*=NULL*/)
	: CDialog(InfoBox::IDD, pParent)
{

}

InfoBox::~InfoBox()
{
}

void InfoBox::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(InfoBox, CDialog)
	ON_WM_SHOWWINDOW()
END_MESSAGE_MAP()


// InfoBox message handlers

void InfoBox::OnShowWindow(BOOL bShow, UINT nStatus)
{
	CDialog::OnShowWindow(bShow, nStatus);

	// TODO: Add your message handler code here
	CStatic *t = (CStatic* )GetDlgItem( IDC_INFO_TITLE);
	t->SetWindowText(title);
	CEdit *c = (CEdit*) GetDlgItem( IDC_INFO_CONTENT);
	c->SetWindowText(content);
	
}
